#ifndef _PATHPARSER_H
#define _PATHPARSER_H

// Path is represented as: 0:/foldername/filename.txt

struct path_root
{
    int drive_no; 
    struct path_part* first; 
};

struct path_part
{
    const char* part;
    struct path_part* next; 
};


struct path_root* pathparser_parse(const char* path, const char* current_directory_path); 
void pathparser_free(struct path_root* root); 

#endif